home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0248.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.1 KB  |  28 lines

  1. Can you tell us when WWW and Viola will support non-text
  2. documents?  I would very much like to be able to return
  3. pictures including Postscript.  I know this has been discussed
  4. in the past.
  5.  
  6. One issue is how will the client know what kind of data
  7. is being returned.  It seems there are several possibilities:
  8.  
  9. 1) Make the client figure it out itself by examining the data (e.g.
  10. for "magic numbers").  Simplest, but makes the client do too much
  11. work.
  12.  
  13. 2) Use typed links.  A server which wishes to return non-text data
  14. first returns a constructed document containing anchors where the link
  15. type somehow encodes the data type.  Benefit here is that it allows
  16. the user to choose the kind of data if there is a choice.
  17.  
  18. 3) the HTTP protocol to allow an HTTP server to inform the client of
  19. the kind of data to be returned, maybe even negotiate about it.
  20.  
  21. 4) Extend HTML to allow embedded non-text data, perhaps by using MIME.
  22. Servers will probabaly construct a new document for each query, using
  23. MIME's external reference feature where possible to avoid copying
  24. large data files.
  25.  
  26. best wishes
  27.  
  28.